package com.patMall.mapper;

import com.patMall.entity.AnswerProblem;

import java.util.List;

/**
 * @Author 750909637@qq.com
 * @PackageName patMall
 * @Package com.patMall.mapper
 * @Date 2024/1/18 22:39
 * @Version 1.0
 */
public interface AnswerProblemMapper {
    List<AnswerProblem> selectAnswerProblemByCommodityId(Integer commodityId);
    List<AnswerProblem> selectAnswerProblemByAnswerProblemId(Integer answerProblemId);
    int insertAnswerProblem(AnswerProblem answerProblem);
    int updateAnswerProblem(AnswerProblem answerProblem);
    List<AnswerProblem> selectAllAnswerProblem();
    List<AnswerProblem> getAllByAnswerProblemContent(String answerContent);
}
